/**
 *
 * @author DnD Binary Source
 */
package Entities;

public class Book {
    private String name; // The name of the Book
    private String abbreviation; // An abbreviation of its name
    
    public Book(String name, String abbreviation){
        setName(name);
        setAbbreviation(abbreviation);
    }

    public void edit(String name, String abbreviation){
        setName(name);
        setAbbreviation(abbreviation);
    }
    
    // Return the Book's name
    public String getName() {
        return name;
    }

    // Set the Book's name
    private void setName(String name) {
        this.name = name;
    }

    // Return the Book's name abbreviation
    public String getAbbreviation() {
        return abbreviation;
    }

    // Set the Book's name abbreviation
    private void setAbbreviation(String abbreviation) {
        this.abbreviation = abbreviation;
    }
}
